{layout name="layout" /}

<div width="100%" valign="center">
    <p/>商品详情<p/>
</div>
<hr/>
<table border="1px" align="center">
    <tr>
        <td>字段</td>
        <td>字段值</td>            
    </tr>
    <tr bgcolor="#FFFFFF">
        <td>商品ID</td>
        <td>{$detail['pId']}</td>
    </tr>
    <tr>
        <td>商品名称</td>
        <td>{$detail['pName']}</td>
    </tr>
    <tr>
        <td>商品价格</td>
        <td>{$detail['pPrice']}</td>
    </tr>
    <tr>
        <td>商品图片</td>
        <td><img src='__STATIC__/upload/{$detail['pImg']}' width="100px" height="100px"></td>
    </tr>
        <tr>
        <td>商品简介</td>
        <td>{$detail.pDescr}</td>
    </tr>
    <tr>
        <td>商品类别</td>
        <td>{$className}</td>
    </tr>
    <tr>
        <td>商品详情</td>
        <td>{$detail.pDescrDetail}</td>
    </tr>
    <tr>
        <td colspan="2">
            <a href=# onclick="history.go(-1);">返回</a>
        </td>   
    </tr>
</table>